package java8functional.default1;


import org.junit.Assert;
import org.junit.Test;

public class Test1 {

	@Test
	public void parentDefaultUsed(){
		Parent parent  = new ParentImpl();
		parent.welcome();
		Assert.assertEquals("Hi", parent.getLastMessage());
	}
}
